class OrderBean {
  String result;
  String message;
  String code;
  List<OrBean> body;

  OrderBean({this.result, this.message, this.code, this.body});

  OrderBean.fromJson(Map<String, dynamic> json) {
    result = json['result'];
    message = json['message'];
    code = json['code'];
    if (json['body'] != null) {
      body = new List<OrBean>();
      json['body'].forEach((v) {
        body.add(new OrBean.fromJson(v));
      });
    }
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['result'] = this.result;
    data['message'] = this.message;
    data['code'] = this.code;
    if (this.body != null) {
      data['body'] = this.body.map((v) => v.toJson()).toList();
    }
    return data;
  }
}

class OrBean {
  String orderType;
  String orderTypeName;
  String status;
  String status1;
  String statusText;
  String title;
  String brandId;
  String brandName;
  int isInternShip;
  int orderIdentify;
  int orderSpecial;
  int schFlag;
  String ticketId;
  String creatDate;
  String revenue;
  String sumRevenue;
  String serviceType;
  String serviceName;
  String serviceDate;
  String serviceLocation;
  String serviceContent;
  String plan;
  String totalprice;
  String ticketNo;
  String fullAddress;
  int platFormSourceFlag;
  int serviceTypeCode;
  int increaseTaxInvoiceFlag;
  int haveTax;
  int redPacketFlag;
  String status3;
  String status4;
  String statusText1;
  String isEmergent;
  String supplementJson;
  String payVersion;

  OrBean(
      {this.orderType,
        this.orderTypeName,
        this.status,
        this.status1,
        this.statusText,
        this.title,
        this.brandId,
        this.brandName,
        this.isInternShip,
        this.orderIdentify,
        this.orderSpecial,
        this.schFlag,
        this.ticketId,
        this.creatDate,
        this.revenue,
        this.sumRevenue,
        this.serviceType,
        this.serviceName,
        this.serviceDate,
        this.serviceLocation,
        this.serviceContent,
        this.plan,
        this.totalprice,
        this.ticketNo,
        this.fullAddress,
        this.platFormSourceFlag,
        this.serviceTypeCode,
        this.increaseTaxInvoiceFlag,
        this.haveTax,
        this.redPacketFlag,
        this.status3,
        this.status4,
        this.statusText1,
        this.isEmergent,
        this.supplementJson,
        this.payVersion});

  OrBean.fromJson(Map<String, dynamic> json) {
    orderType = json['orderType'];
    orderTypeName = json['orderTypeName'];
    status = json['status'];
    status1 = json['status1'];
    statusText = json['statusText'];
    title = json['title'];
    brandId = json['brandId'];
    brandName = json['brandName'];
    isInternShip = json['isInternShip'];
    orderIdentify = json['orderIdentify'];
    orderSpecial = json['orderSpecial'];
    schFlag = json['schFlag'];
    ticketId = json['ticketId'];
    creatDate = json['creatDate'];
    revenue = json['revenue'];
    sumRevenue = json['sumRevenue'];
    serviceType = json['serviceType'];
    serviceName = json['serviceName'];
    serviceDate = json['serviceDate'];
    serviceLocation = json['serviceLocation'];
    serviceContent = json['serviceContent'];
    plan = json['plan'];
    totalprice = json['totalprice'];
    ticketNo = json['ticketNo'];
    fullAddress = json['fullAddress'];
    platFormSourceFlag = json['platFormSourceFlag'];
    serviceTypeCode = json['serviceTypeCode'];
    increaseTaxInvoiceFlag = json['increaseTaxInvoiceFlag'];
    haveTax = json['haveTax'];
    redPacketFlag = json['redPacketFlag'];
    status3 = json['status3'];
    status4 = json['status4'];
    statusText1 = json['statusText1'];
    isEmergent = json['isEmergent'];
    supplementJson = json['supplementJson'];
    payVersion = json['payVersion'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['orderType'] = this.orderType;
    data['orderTypeName'] = this.orderTypeName;
    data['status'] = this.status;
    data['status1'] = this.status1;
    data['statusText'] = this.statusText;
    data['title'] = this.title;
    data['brandId'] = this.brandId;
    data['brandName'] = this.brandName;
    data['isInternShip'] = this.isInternShip;
    data['orderIdentify'] = this.orderIdentify;
    data['orderSpecial'] = this.orderSpecial;
    data['schFlag'] = this.schFlag;
    data['ticketId'] = this.ticketId;
    data['creatDate'] = this.creatDate;
    data['revenue'] = this.revenue;
    data['sumRevenue'] = this.sumRevenue;
    data['serviceType'] = this.serviceType;
    data['serviceName'] = this.serviceName;
    data['serviceDate'] = this.serviceDate;
    data['serviceLocation'] = this.serviceLocation;
    data['serviceContent'] = this.serviceContent;
    data['plan'] = this.plan;
    data['totalprice'] = this.totalprice;
    data['ticketNo'] = this.ticketNo;
    data['fullAddress'] = this.fullAddress;
    data['platFormSourceFlag'] = this.platFormSourceFlag;
    data['serviceTypeCode'] = this.serviceTypeCode;
    data['increaseTaxInvoiceFlag'] = this.increaseTaxInvoiceFlag;
    data['haveTax'] = this.haveTax;
    data['redPacketFlag'] = this.redPacketFlag;
    data['status3'] = this.status3;
    data['status4'] = this.status4;
    data['statusText1'] = this.statusText1;
    data['isEmergent'] = this.isEmergent;
    data['supplementJson'] = this.supplementJson;
    data['payVersion'] = this.payVersion;
    return data;
  }
}